package com.itheima.day02;

public class Demo2 {
    public static void main(String[] args) {
        int x = 10;
        //  y = 11 + 11 - 12 + 10;
        int y = ++x + x++ - x-- + --x;

        System.out.println("x = " + x);   // 10
        System.out.println("y = " + y);   // 20
    }
}
